package com.imau.service.impl;

import com.imau.dao.BookDao;
import com.imau.service.BookService;

public class BookServiceImpl implements BookService {
    //调用dao层
    private BookDao bookDao;


    public void setBookDao(BookDao bookDao){
        this.bookDao = bookDao;
    }

    public void save() {

        bookDao.addBook();
        System.out.println("book service save");
    }
}
